package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 银行开户积分设定对象 re_bank_bonus
 * 
 * @author ruoyi
 * @date 2023-12-21
 */
public class ReBankBonus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 账户性质  0：基本户 1：一般户 */
    @Excel(name = "账户性质  0：基本户 1：一般户")
    private String accountType;

    /** 积分 */
    @Excel(name = "积分")
    private Long bonus;

    /** 银行机构ID */
    @Excel(name = "银行机构ID")
    private Long orgId;

    /** 银行机构ID */
    @Excel(name = "银行机构名称")
    private String orgName;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAccountType(String accountType)
    {
        this.accountType = accountType;
    }

    public String getAccountType()
    {
        return accountType;
    }
    public void setBonus(Long bonus) 
    {
        this.bonus = bonus;
    }

    public Long getBonus() 
    {
        return bonus;
    }
    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("accountType", getAccountType())
            .append("bonus", getBonus())
            .append("orgId", getOrgId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
                .append("orgName", getOrgName())
            .toString();
    }
}
